package com.chinatgl.latte.ec.database;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Generated;

/**
 * 文件描述:
 * 作者: Created by 杨伟乔 on 2017/8/9 0009.
 * 版本号: 1.0
 */
@Entity(nameInDb = "user_profile")
public class UserProfile {

    @Id
    private long id;
    private boolean setAddr;
    private boolean setPayPassword;
    private boolean setBankCard;
    private String balance;
    private String nickname;

    private String createTime;
    private String updateTime;
    private String creator;
    private String updator;
    private int isDeleted;
    private String logo;
    private String name;
    private String mobi;
    private String username;
    private String password;
    private int isCompSign;
    @Generated(hash = 352501248)
    public UserProfile(long id, boolean setAddr, boolean setPayPassword,
            boolean setBankCard, String balance, String nickname, String createTime,
            String updateTime, String creator, String updator, int isDeleted,
            String logo, String name, String mobi, String username, String password,
            int isCompSign) {
        this.id = id;
        this.setAddr = setAddr;
        this.setPayPassword = setPayPassword;
        this.setBankCard = setBankCard;
        this.balance = balance;
        this.nickname = nickname;
        this.createTime = createTime;
        this.updateTime = updateTime;
        this.creator = creator;
        this.updator = updator;
        this.isDeleted = isDeleted;
        this.logo = logo;
        this.name = name;
        this.mobi = mobi;
        this.username = username;
        this.password = password;
        this.isCompSign = isCompSign;
    }
    @Generated(hash = 968487393)
    public UserProfile() {
    }
    public long getId() {
        return this.id;
    }
    public void setId(long id) {
        this.id = id;
    }
    public boolean getSetAddr() {
        return this.setAddr;
    }
    public void setSetAddr(boolean setAddr) {
        this.setAddr = setAddr;
    }
    public boolean getSetPayPassword() {
        return this.setPayPassword;
    }
    public void setSetPayPassword(boolean setPayPassword) {
        this.setPayPassword = setPayPassword;
    }
    public boolean getSetBankCard() {
        return this.setBankCard;
    }
    public void setSetBankCard(boolean setBankCard) {
        this.setBankCard = setBankCard;
    }
    public String getBalance() {
        return this.balance;
    }
    public void setBalance(String balance) {
        this.balance = balance;
    }
    public String getNickname() {
        return this.nickname;
    }
    public void setNickname(String nickname) {
        this.nickname = nickname;
    }
    public String getCreateTime() {
        return this.createTime;
    }
    public void setCreateTime(String createTime) {
        this.createTime = createTime;
    }
    public String getUpdateTime() {
        return this.updateTime;
    }
    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }
    public String getCreator() {
        return this.creator;
    }
    public void setCreator(String creator) {
        this.creator = creator;
    }
    public String getUpdator() {
        return this.updator;
    }
    public void setUpdator(String updator) {
        this.updator = updator;
    }
    public int getIsDeleted() {
        return this.isDeleted;
    }
    public void setIsDeleted(int isDeleted) {
        this.isDeleted = isDeleted;
    }
    public String getLogo() {
        return this.logo;
    }
    public void setLogo(String logo) {
        this.logo = logo;
    }
    public String getName() {
        return this.name;
    }
    public void setName(String name) {
        this.name = name;
    }
    public String getMobi() {
        return this.mobi;
    }
    public void setMobi(String mobi) {
        this.mobi = mobi;
    }
    public String getUsername() {
        return this.username;
    }
    public void setUsername(String username) {
        this.username = username;
    }
    public String getPassword() {
        return this.password;
    }
    public void setPassword(String password) {
        this.password = password;
    }
    public int getIsCompSign() {
        return this.isCompSign;
    }
    public void setIsCompSign(int isCompSign) {
        this.isCompSign = isCompSign;
    }

    @Override
    public String toString() {
        return "UserProfile{" +
                "id=" + id +
                ", setAddr=" + setAddr +
                ", setPayPassword=" + setPayPassword +
                ", setBankCard=" + setBankCard +
                ", balance='" + balance + '\'' +
                ", nickname='" + nickname + '\'' +
                ", createTime='" + createTime + '\'' +
                ", updateTime='" + updateTime + '\'' +
                ", creator='" + creator + '\'' +
                ", updator='" + updator + '\'' +
                ", isDeleted=" + isDeleted +
                ", logo='" + logo + '\'' +
                ", name='" + name + '\'' +
                ", mobi='" + mobi + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", isCompSign=" + isCompSign +
                '}';
    }
}
